package com.training.file;

import java.io.File;

public class FileDemo02 {
	public static void main(String[] args) {
		File f = new File("E:\\JavaWork\\java-io");
		System.out.println(f.getName());
		System.out.println(f.getAbsolutePath());System.out.println(f.getPath());

		System.out.println(f.isDirectory());
		System.out.println(f.isFile());
	}
}
